/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tools;

import java.util.Date;

/**
 *
 * @author GustavoKatel_
 */
public class logger {
    private String filename = "main.log";
    public logger(String filename)
    {
        this.filename = filename;
    }
    public static void warning(String msg){
        String data = new Date().toString();
        System.out.println(data+"WARNING: "+msg);
    }
        public static void info(String msg){
        String data = new Date().toString();
        System.out.println(data+" Info: "+msg);
    }
}
